//Source file: D:\\test\\com\\ce\\pms\\charge\\model\\LateFeeModeDomain.java

package com.ce.pms.charge.model;

import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ce.pms.common.model.SysInfo;
import com.sitechasia.webx.core.model.IDomainObject;

/**
 * 实体名称:滞纳金模式定义 关联数据表:FEE_LATE_FEE_MODE
 */
@Entity
@Table(name = "FEE_LATE_FEE_MODE")
public class LateFeeModeDomain implements IDomainObject{

	/**
	 * 关键字
	 */
	@Id
	@GeneratedValue
	@Column(name = "LATE_FEE_MODE_ID")
	private Long keyword;

	/**
	 * 模式名称
	 */
	@Column(name = "NAME", nullable = false, length = 30)
	private String name;

	/**
	 * 模式编码
	 */
	@Column(name = "CODE", nullable = false, length = 3)
	private String code;

	/**
	 * 开始日期
	 */
	@Column(name = "START_DATE",length=2,nullable = false)
	private String startDate;

	/**
	 * 开始计滞纳金跨度
	 */
	@Column(name = "START_STEP" , nullable = false)
	private Short startStep;

	/**
	 * 开始收滞纳金跨度
	 */
	@Column(name = "DOING_STEP", nullable = false)
	private Short doingStep;

	/**
	 * 开始收滞纳金日
	 */
	@Column(name ="DDING_DATE" ,length = 2 , nullable = false)
	private String doingDate;

	/**
	 * 截止日期
	 */
	@Column(name = "DEADLINE",length=2)
	private String deadline;

	/**
	 * 是否默认模式: 1是;0否
	 */
	@Column(name = "VALIDITY", nullable = false,length=1)
	private String validity;

	/**
	 * 备注
	 */
	@Column(name = "REMARK", length = 500)
	private String remark;

	@Embedded
	private SysInfo sysInfo;
	/**
	 * @roseuid 48757D1401C5
	 */
	public LateFeeModeDomain() {

	}
	/**
	 *
	 * @param name    模式名称
	 * @param code    模式编码
	 * @param validity是否默认模式: 1是;0否
	 * @param sysInfo 系统信息
	 */
	public LateFeeModeDomain(
			String name,
			String code,
			String validity,
			short startStep,
			String startDate,
			short doingStep,
			String doingDate,
			SysInfo sysInfo) {
		super();
		this.startStep = startStep;
		this.startDate = startDate;
		this.doingStep = doingStep;
		this.doingDate = doingDate;
		this.name = name;
		this.code = code;
		this.validity = validity;
		this.sysInfo = sysInfo;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDeadline() {
		return deadline;
	}
	public void setDeadline(String deadline) {
		this.deadline = deadline;
	}
	public Long getKeyword() {
		return keyword;
	}
	public void setKeyword(Long keyword) {
		this.keyword = keyword;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	public SysInfo getSysInfo() {
		return sysInfo;
	}
	public void setSysInfo(SysInfo sysInfo) {
		this.sysInfo = sysInfo;
	}
	public String getValidity() {
		return validity;
	}
	public void setValidity(String validity) {
		this.validity = validity;
	}
	public String getDoingDate() {
		return doingDate;
	}
	public void setDoingDate(String doingDate) {
		this.doingDate = doingDate;
	}
	public Short getDoingStep() {
		return doingStep;
	}
	public void setDoingStep(Short doingStep) {
		this.doingStep = doingStep;
	}
	public Short getStartStep() {
		return startStep;
	}
	public void setStartStep(Short startStep) {
		this.startStep = startStep;
	}

}
